package com.wkbb.basic.mapper;

import com.wkbb.basic.model.VersionControl;
import com.wkbb.common.base.BaseMapper;
import com.wkbb.common.dto.basic.DeviceDetailDto;
import com.wkbb.common.dto.basic.VersionControlDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface VersionControlMapper extends BaseMapper<VersionControl> {

    void deleteDeviceVersionByIdBatch(@Param("list")List<Long> ids);

    void  updateStatusById(Map<String,Object> parms);

    VersionControlDto getVersionControlDtoByDeviceCode(String deviceCode);

    List<DeviceDetailDto> getDeviceListByMapParms(Map<String,Object> parms) throws Exception;

}